﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true"
    CodeBehind="Atrasos.aspx.cs" Inherits="CDSBDemandControl.View.Web.PaginasInternas.Atrasos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="divDireita" style="vertical-align: middle;">
        <span class="Obs">
            <asp:Label ID="LblObsOrdenacao" runat="server" Text=""></asp:Label>
        </span>
    </div>
    
    <asp:GridView Caption="Tasks Atrasadas Pendentes" CaptionAlign="Left" ID="GrdAtrasoTasksPendentes"
        runat="server" AutoGenerateColumns="False" CellPadding="2" Width="100%" Visible="False"
        AllowSorting="True" GridLines="None" OnDataBinding="Grid_DataBinding">
        <RowStyle BackColor="#E1ECFC" Font-Names="Verdana" Font-Size="X-Small" ForeColor="Black" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" />
            <asp:BoundField DataField="Project" HeaderText="Projeto"></asp:BoundField>
            <asp:BoundField DataField="Title" HeaderText="Título" />
            <asp:BoundField DataField="EstimatedConclude" HeaderText="Término Estimado" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:BoundField DataField="Conclude" HeaderText="Término Realizado" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:TemplateField HeaderText="Dias Atrasados">
                <ItemTemplate>
                    <asp:Label ID="TextBox1" runat="server" Text='<%# Bind("DaysPast") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="State" HeaderText="Status" />
            <asp:TemplateField HeaderText="Responsável">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text="Marco Parente"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#CFDFF9" Font-Names="Verdana" Font-Size="X-Small" Font-Bold="True"
            HorizontalAlign="Left" />
        <HeaderStyle BackColor="#CFDFF9" Font-Names="Verdana" Font-Size="X-Small" Font-Bold="True"
            HorizontalAlign="Left" />
        <AlternatingRowStyle BackColor="White" Font-Names="Verdana" Font-Size="X-Small" Wrap="False" />
    </asp:GridView>
    
    <div id="divTotalRegGrd02" runat="server" class="divTotalReg" align="left">
        <table border="0" cellpadding="0" cellspacing="0" class="TableLegenda">
            <tr>
                <td>
                    <asp:Label ID="lblTotalRegistros2" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    
    <br />
    
    <asp:GridView Caption="Tasks Atrasadas Concluídas" CaptionAlign="Left" ID="GrdAtrasoTasksConcluidas"
        runat="server" AutoGenerateColumns="False" CellPadding="2" Width="100%" Visible="False"
        AllowSorting="True" GridLines="None" OnDataBinding="Grid_DataBinding" OnRowDataBound="Grid_RowDataBound">
        <RowStyle BackColor="#E1ECFC" Font-Names="Verdana" Font-Size="X-Small" ForeColor="Black" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" />
            <asp:BoundField DataField="Project" HeaderText="Projeto"></asp:BoundField>
            <asp:BoundField DataField="Title" HeaderText="Título" />
            <asp:BoundField DataField="EstimatedConclude" HeaderText="Término Estimado" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:BoundField DataField="Conclude" HeaderText="Término Realizado" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:TemplateField HeaderText="Dias Atrasados">
                <ItemTemplate>
                    <asp:Label ID="TextBox1" runat="server" Text='<%# Bind("DaysPast") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="State" HeaderText="Status" />
            <asp:TemplateField HeaderText="Responsável">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text="Marco Parente"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#CFDFF9" Font-Names="Verdana" Font-Size="X-Small" Font-Bold="True"
            HorizontalAlign="Left" />
        <HeaderStyle BackColor="#CFDFF9" Font-Names="Verdana" Font-Size="X-Small" Font-Bold="True"
            HorizontalAlign="Left" />
        <AlternatingRowStyle BackColor="White" Font-Names="Verdana" Font-Size="X-Small" Wrap="False" />
    </asp:GridView>   
    
    <div id="divTotalRegGrd01" runat="server" class="divTotalReg" align="left">
        <table border="0" cellpadding="0" cellspacing="0" class="TableLegenda">
            <tr>
                <td>
                    <asp:Label ID="lblTotalRegistros1" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div> 
    
    <div id="DivMsgSemResultados2" runat="server" class="MsgSemResultadoPesquisa">
        <asp:Label ID="lblMsgSemResultados2" runat="server"></asp:Label>
    </div>
    <div id="divAdendo" class="Adendo" runat="server" />
    <table>        
        <tr>
            <td>
                <div id="DivMsgSemResultados1" runat="server" class="MsgSemResultadoPesquisa">
                    <asp:Label ID="lblMsgSemResultados1" runat="server"></asp:Label>
                </div>                
            </td>
        </tr>
    </table>
    
    
</asp:Content>
